package com.um.jdy.app.charge.entity.vo;

import com.um.jdy.common.charge.entity.po.OrderEnergy;
import com.um.jdy.common.charge.entity.vo.*;
import com.um.jdy.common.charge.enums.OrderEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;

/**
 * @Title
 * @Description
 * @Author renjunwei
 * @Date 2023/5/31 10:20
 */
@Data
public class OrderDetailVO extends OrderItemVO {

    @ApiModelProperty(value = "设备状态 NotActivated-未激活 Offline-离线 Online-在线 Disable-已禁用")
    private String deviceStatus;

    /**
     * 订单状态
     */
    @ApiModelProperty(value = "订单状态")
    private OrderEnum.OrderStatus orderStatus;

    /**
     * 订单说明
     */
    @ApiModelProperty(value = "订单说明")
    private String explain;

    /**
     * 单车订单
     */
    @ApiModelProperty(value = "单车订单")
    EbOrderVO ebOrder;

    @ApiModelProperty(value = "单车时段电费列表")
    List<OrderEnergyItem> ebEnergyList = new ArrayList<>();

    @ApiModelProperty(value = "当前时段电费(分)")
    private Integer currentEnergyFee;

    @ApiModelProperty(value = "当前时段服务费(分)")
    private Integer currentServiceFee;

    /**
     * 汽车订单
     */
    @ApiModelProperty(value = "汽车订单")
    EvOrderVO evOrder;

    /**
     * 充电柜订单
     */
    @ApiModelProperty(value = "充电柜订单")
    EboxOrderVO eboxOrder;

    /**
     * 充电宝订单
     */
    @ApiModelProperty(value = "充电宝订单")
    PbOrderDetailVO pbOrder;



}
